package com.xquant.common.core.constant;

import com.xquant.common.core.domain.ErrMsg;

/**
 * @author: zip.li
 * @date: Created in 2022/10/27 13:08
 * @Description:
 */
public class SummitTranConstants {

    public static final ErrMsg TRADEID_ERR=new ErrMsg("交易编号不能为空",1000);

    public static final ErrMsg EFFECTIVEDATE_ERR=new ErrMsg("交易起始日不能为空",1001);

    public static final ErrMsg TERMINATIONPAYMENTDATE_ERR=new ErrMsg("交易到期支付日不能为空",1002);

    public static final ErrMsg TERMINATIONDATE_ERR=new ErrMsg("交易到期日不能为空",1003);

    public static final ErrMsg STRIKE_ERR=new ErrMsg("行权价不能为空",1004);

    public static final ErrMsg OPTIONTYPE_ERR=new ErrMsg("涨跌类型不能为空",1005);

    public static final ErrMsg INSTRUMENT_ERR=new ErrMsg("标的不能未空",1006);

    public static final ErrMsg NOTIONAL_ERR=new ErrMsg("名义本金必须大于0",1007);

    public static final ErrMsg PAYMENTAMOUT=new ErrMsg("收益金额不能为空", 1008);

    public static final ErrMsg PAYMENTAMOUT_ERR=new ErrMsg("收益金额必须大于0", 1066);

    public static final ErrMsg STARTDATE_ERR=new ErrMsg("单鲨观察开始日不能为空",1009);

    public static final ErrMsg ENDDATE_ERR=new ErrMsg("单鲨观察结束日不能为空",1010);

    public static final ErrMsg DAYCOUNTER_ERR=new ErrMsg("计息基准不能为空",1011);

    public static final ErrMsg FEE_ERR=new ErrMsg("期权费不能为空",1012);

    public static final ErrMsg FEERATE_ERR=new ErrMsg("期权费率不能为空",1013);

    public static final ErrMsg FEEPAYDAY_ERR=new ErrMsg("期权费支付日不能为空",1012);

    public static final ErrMsg FRONTFEE_ERR=new ErrMsg("前端费不能为空",1014);

    public static final ErrMsg FRONTFEERATE_ERR=new ErrMsg("前端费率不能为空",1015);

    public static final ErrMsg FRONTFEEPAYDAY_ERR=new ErrMsg("前端费支付日不能为空",1016);

    public static final ErrMsg PAYMENTDAYSOFFSET_ERR=new ErrMsg("到期支付偏移不能为空",1017);

    public static final ErrMsg PARTICIPATIONRATE_ERR=new ErrMsg("参与率不能为空",1018);

    public static final ErrMsg TRIGGERRATE_ERR=new ErrMsg("障碍价比例不能为空",1019);

    public static final ErrMsg REBATERATE_ERR=new ErrMsg("敲出补偿比例不能为空",1020);

    public static final ErrMsg MINTYIELDRATE_ERR=new ErrMsg("最低收益率不能为空",1021);

    public static final ErrMsg DIRECTION_ERR=new ErrMsg("交易方向不能为空",1022);

    public static final ErrMsg TERM_ERR=new ErrMsg("期限不能为空",1023);

    public static final ErrMsg STRIKERATE_ERR=new ErrMsg("行权价比例不能为空",1024);

    public static final ErrMsg MAXYIELDRATE_ERR=new ErrMsg("最高收益率不能为空",1025);

    public static final ErrMsg ACCOUNT_ERR=new ErrMsg("本方账户不能为空",1026);

    public static final ErrMsg COUNTERACCOUNT_ERR=new ErrMsg("交易对手不能为空",1027);

    public static final ErrMsg SOURCE_ERR=new ErrMsg("报价源不能为空",1028);

    public static final ErrMsg TERMINATEFEE_ERR=new ErrMsg("提前终止费不能为空",1029);

    public static final ErrMsg CNY_ERR=new ErrMsg("结算币种不能为空",1030);

    public static final ErrMsg DIGITAL_ERR=new ErrMsg("业务类型不能为空",1031);

    public static final ErrMsg MAINCURR_ERR=new ErrMsg("主货币不能为空",1032);

    public static final ErrMsg FITCURR_ERR=new ErrMsg("副货币不能为空",1033);

    public static final ErrMsg OTC_ERR=new ErrMsg("OTC不能为空",1034);

    public static final ErrMsg PREMIUMCURR_ERR=new ErrMsg("期权费币种不能为空",1035);

    public static final ErrMsg STATUS_ERR=new ErrMsg("交易状态不能为空",1036);

    public static final ErrMsg NONE_ERR=new ErrMsg("NONE不能为空",1037);

    public static final ErrMsg PAYOFFCURR_ERR=new ErrMsg("行权金额货币不能为空",1038);

    public static final ErrMsg FREQUENCY_ERR=new ErrMsg("频率不能为空",1039);

    public static final ErrMsg IMPORTED_ERR=new ErrMsg("导入不能为空",1040);

    public static final ErrMsg FORECURRENCY_ERR=new ErrMsg("外币金额不能为空",1041);

    public static final ErrMsg PRODUCETYPE_ERR=new ErrMsg("产品名称不能为空",1042);

    public static final ErrMsg INSTRUMENT_NOEXIST_ERR=new ErrMsg("标的不存在",1043);

    public static final ErrMsg PAYMENTDAYSOFFSET_WRONG_ERR=new ErrMsg("支付偏移不正确",1044);

    public static final ErrMsg TERMINATIONDATEFORMAT_ERR=new ErrMsg("交易到期日格式不正确",1045);

    public static final ErrMsg EFFECTIVEDATEFORMAT_ERR=new ErrMsg("交易起始日格式不正确",1046);

    public static final ErrMsg TERMINATIONPAYMENTDATE_FORMAT_ERR=new ErrMsg("交易到期支付日格式不正确",1047);

    public static final ErrMsg FEEPAYDAY_FORMAT_ERR=new ErrMsg("期权费支付日格式不正确",1048);

    public static final ErrMsg FRONTFEEPAYDAY_FORMAT_ERR=new ErrMsg("前端费支付日格式不正确",1049);

    public static final ErrMsg STARTDATE_FORMAT_ERR=new ErrMsg("单鲨观察开始日格式不正确",1050);

    public static final ErrMsg ENDDATE_FORMAT_ERR=new ErrMsg("单鲨观察结束日格式不正确",1051);

    public static final ErrMsg SUMMIT_UPLOAD_FILE_ERR=new ErrMsg("文件上传失败",1052);

    public static final ErrMsg SUMMIT_UPLOAD_FILE_EMPTY_ERR=new ErrMsg("文件上传失败,文件不能为空",1053);

    public static final ErrMsg DIGITAL_TYPE_ERR=new ErrMsg("业务类型不正确",1054);

    public static final ErrMsg ORDER_STATUS_EMPTY_ERR=new ErrMsg("交易状态不能为空",1055);

    public static final ErrMsg ORDER_STATUS_ERR=new ErrMsg("交易状态类型不正确",1056);

    public static final ErrMsg FILE_NAME_ERR=new ErrMsg("文件名称不正确",1057);

    public static final ErrMsg ACCOUNT_EMTRY_ERR=new ErrMsg("交易本方账户不存在，账户为",1058);

    public static final ErrMsg ACCOUNT_AVAILABLE_ERR=new ErrMsg("交易本方账户状态不为启用，账户为",1059);

    public static final ErrMsg CPACCOUNT_EMTRY_ERR=new ErrMsg("交易对手账户不存在，账户为",1060);

    public static final ErrMsg CPACCOUNT_AVAILABLE_ERR=new ErrMsg("交易对手账户状态不为启用，账户为",1061);

    public static final ErrMsg SPOT_PRICE_ERR=new ErrMsg("交易行权价和行权比例不能都为空或零",1062);

    public static final ErrMsg PAYMENT_AMOUNT_ZERO_ERR=new ErrMsg("交易行权收益和收益金额不能都为空或零",1063);

    public static final ErrMsg TRIGGER_GREATE_ERR=new ErrMsg("交易障碍价必须大于行权价",1064);

    public static final ErrMsg TRIGGER_LESS_ERR=new ErrMsg("交易障碍价必须小于行权价",1065);

    public static final ErrMsg FILE_IO_ERR=new ErrMsg("文件读取错误，请稍后重试",1066);

}
